function ge_plot_cluster
a=load('out.dat');
size(a)

theta = a(:, 1);
phi = a(:, 2);
x = -sin(phi) .* sin(theta);
y = cos(phi) .* sin(theta);
z = cos(theta);
plot3([-1 1], [-1 1], [-1 1], '.');
hold on;
i = 1;
for clu = 1:8
	for cry = 1:3
		for seg = 1:6
      if 0 ~= a(i, 1) || 0 ~= a(i, 2)
        if 1 == clu && 1 == cry
          plot3(z(i), x(i), y(i), 'or');
        else
          plot3(z(i), x(i), y(i), 'ob');
        end
      end
			i = i + 1;
		end
	end
end
hold off;
xlabel('z,forward');
ylabel('x,left');
zlabel('y,up');
